package com.msb.serviceorder.feign;

import com.msb.commons.response.ResponseResult;
import com.msb.commons.response.TerminalResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.ArrayList;

/**
 * @Author: chshh
 * @version: 1.0
 */
@FeignClient("service-map")
public interface ServiceMapClient {

    @PostMapping("/terminal/aroundsearch")
    public ResponseResult<ArrayList<TerminalResponse>> aroundsearch(@RequestParam("center") String center,@RequestParam("radius") int radius);
}
